package net.neptech.client;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class QwenApiClient {

    @Value("${qwen.api.url}")
    private String apiUrl;

    @Value("${qwen.api.key}")
    private String apiKey;

    public String callQwen(String prompt) {
        // 使用 OkHttp 或 WebClient 调用 Qwen API
        // 省略具体实现
        return "{diagnosis: '...', plan: '...'}";
    }
}
